package com.frontop.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.frontop.common.domain.TUserShowInfo;
import com.frontop.common.util.MD5Utils;
import com.frontop.modules.mapper.TUserMapper;
import com.frontop.modules.model.TUser;
import com.frontop.modules.service.TUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author YangBoos
 * @title: TUserServiceImpl
 * @description:
 */
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser> implements TUserService {

    @Autowired
    TUserMapper userMapper;

    @Override
    public List<String> getUserAllJurisdiction(String userName) {
        return userMapper.getUserAllJurisdiction(userName);
    }

    @Override
    public TUserShowInfo selectShowUserInfo(String userName) {
        return userMapper.selectShowUserInfo(userName);
    }
}
